package com.classroompie.classroompiepojo.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author jiahao
 * @since 2024/6/20 周四
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table("homework")
public class HomeworkModel extends BaseModel{
    @Column("title")
    private String title;
    @Column("type")
    private String type;
    @Column("description")
    private String description;
    @Column("type_label")
    private String typeLabel;
    @Column("apply_time")
    private String applyTime;
    @Column("chapter")
    private String chapter;
    @Column("release_time")
    private LocalDateTime releaseTime;
    @Column("deadline")
    private LocalDateTime deadline;
    @Column("score")
    private String score;
    @Column("timeout_prohibition")
    private Boolean timeoutProhibition;
    @Column("file")
    private String file;
    @Column("is_finished")
    private Boolean isFinished;
    @Column("course_id")
    private String courseId;
    @Column("create_user")
    private String createUser;

}
